<?php
/**
 * Created by PhpStorm.
 * User: huang
 * Date: 2018/9/18 0018
 * Time: 16:51
 */

namespace app\common\model;

/**
 * 满额包邮
 * Class PromotionFullMail
 * @package app\common\model
 */
class PromotionFullMail extends BaseModel
{
    protected $name = 'promotion_full_mail';
    protected $updateTime = 'modify_time';

    /**
     * 满额配置详情
     * @param null $wxapp_id
     * @return mixed
     */
    public static function detail($wxapp_id = null)
    {
        $self = new static();
        is_null($wxapp_id) && $wxapp_id = $self::$wxapp_id;
        return $self::get(['wxapp_id'=>$wxapp_id]);
    }
}